package com.pig4cloud.pig.wzjiang.feign;


import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.pig4cloud.pig.common.core.constant.ServiceNameConstants;
import com.pig4cloud.pig.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(contextId = "remoteColumnService", value = ServiceNameConstants.ZHANG_SERVICE)
public interface RemoteColumnService {
	@GetMapping("wzArticle/column/{columnId}")
	public List getWzArticleByColumnId(@PathVariable("columnId") Long columnId);
}
